<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;

        }
        ul{
            list-style: none;
            overflow: auto;
        }
        li{
            width: 100px;
            height: 100px;
            background-color: pink;
            margin:20px;
            /* display: inline-block; */
            float: left;
        }

    </style>

</head>
<body>
    <ul>
        <li>1</li>
        <li>2</li>
        <li>3</li>
    </ul>
    <p>hello</p>
</body>
</html>